package com.stylefeng.guns.modular.pay.service;

import java.util.List;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.pay.dto.MchRegACDTO;
import com.stylefeng.guns.modular.pay.dto.MchRegParams;
import com.stylefeng.guns.modular.pay.model.MchReg;

/**
 * <p>
 * 佳付通商户注册 服务类
 * </p>
 *
 * @author stylefeng
 * @since 2018-08-17
 */
public interface IMchRegService extends IService<MchReg> {

	List<MchReg> list(Page<MchReg> page, MchRegParams params);

	MchReg findByChMerCode(String chMerCode);

	MchReg findByMchNoAndMerCode(String mchNo, String merCode);

	void update(Integer id, int status, String resCode, String resMsg);

	void update(Integer id, int status, String chMerCode, String resCode, String resMsg);

	MchRegACDTO getExportData(MchRegParams param);

	void reg(MchReg reg);

	MchReg findByMchNo(String memberNo);

}
